import service from '@/utils/request'

// @Tags LargeScaleOrderPrintHistory
// @Summary 创建大办单-打印历史快照
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderPrintHistory true "创建大办单-打印历史快照"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderPrintHistory/createLargeScaleOrderPrintHistory [post]
export const createLargeScaleOrderPrintHistory = (data) => {
  return service({
    url: '/largeScaleOrderPrintHistory/createLargeScaleOrderPrintHistory',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderPrintHistory
// @Summary 删除大办单-打印历史快照
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderPrintHistory true "删除大办单-打印历史快照"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderPrintHistory/deleteLargeScaleOrderPrintHistory [delete]
export const deleteLargeScaleOrderPrintHistory = (params) => {
  return service({
    url: '/largeScaleOrderPrintHistory/deleteLargeScaleOrderPrintHistory',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderPrintHistory
// @Summary 批量删除大办单-打印历史快照
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单-打印历史快照"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderPrintHistory/deleteLargeScaleOrderPrintHistory [delete]
export const deleteLargeScaleOrderPrintHistoryByIds = (params) => {
  return service({
    url: '/largeScaleOrderPrintHistory/deleteLargeScaleOrderPrintHistoryByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderPrintHistory
// @Summary 更新大办单-打印历史快照
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderPrintHistory true "更新大办单-打印历史快照"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderPrintHistory/updateLargeScaleOrderPrintHistory [put]
export const updateLargeScaleOrderPrintHistory = (data) => {
  return service({
    url: '/largeScaleOrderPrintHistory/updateLargeScaleOrderPrintHistory',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderPrintHistory
// @Summary 用id查询大办单-打印历史快照
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderPrintHistory true "用id查询大办单-打印历史快照"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderPrintHistory/findLargeScaleOrderPrintHistory [get]
export const findLargeScaleOrderPrintHistory = (params) => {
  return service({
    url: '/largeScaleOrderPrintHistory/findLargeScaleOrderPrintHistory',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderPrintHistory
// @Summary 分页获取大办单-打印历史快照列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单-打印历史快照列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderPrintHistory/getLargeScaleOrderPrintHistoryList [get]
export const getLargeScaleOrderPrintHistoryList = (params) => {
  return service({
    url: '/largeScaleOrderPrintHistory/getLargeScaleOrderPrintHistoryList',
    method: 'get',
    params
  })
}
